package com.wgts.wgts.mvp.view.activity.shopkeeper;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

public class MyExtensionNomalAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {

    private static final int HEAD_TYPE = 0x00001;
    private static final int BODY_TYPE = 0x00002;

    @NonNull
    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
        return null;
    }

    @Override
    public void onBindViewHolder(@NonNull RecyclerView.ViewHolder myExtensionNomalViewHolder, int i) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }

    public class MyExtensionNomalBodyViewHolder extends RecyclerView.ViewHolder {
        public MyExtensionNomalBodyViewHolder(@NonNull View itemView) {
            super(itemView);
        }
    }

    public class MyExtensionNomalHeadViewHolder extends RecyclerView.ViewHolder {
        public MyExtensionNomalHeadViewHolder(@NonNull View itemView) {
            super(itemView);
        }
    }

    @Override
    public int getItemViewType(int position) {
        if (position == 0) {
            return HEAD_TYPE;
        } else {
            return BODY_TYPE;
        }
    }

}
